﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddDepartment.aspx.cs" Inherits="Module_DepartmentManger_AddDepartment" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button ID="BtnSave" runat="server" Text="保存" OnClick="BtnSave_Click" />
                    <ext:Button ID="BtnCancel" runat="server" Text="取消" />
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Form ID="Form2" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="false" Title="Form">
                <Rows>
                    <ext:FormRow ID="FormRow1" runat="server" ColumnWidths="80% 20%">
                        <Items>
                            <ext:TextBox ID="txtDepartmentName" runat="server" Label="部门名称" Text="">
                            </ext:TextBox>
                            <ext:CheckBox ID="IsServer" runat="server" Label="" Text="是否服务部门" ShowLabel="false">
                            </ext:CheckBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow4" runat="server">
                        <Items>
                            <ext:TextBox ID="txtTeamName" runat="server" Label="队名" Text="">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow5" runat="server">
                        <Items>
                            <ext:TextBox ID="txtSlogan" runat="server" Label="部门口号" Text="">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow2" runat="server">
                        <Items>
                            <ext:TriggerBox ID="StaffName" runat="server" Label="部门负责人" TriggerIcon="Search">
                            </ext:TriggerBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow6" runat="server">
                        <Items>
                            <ext:TextBox ID="StaffID" runat="server" Label="StaffID" Text="" Hidden="true">
                            </ext:TextBox>
                            <ext:TextBox ID="DepartmentID" runat="server" Label="DepartmentID" Text="" Hidden="true">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow3" runat="server">
                        <Items>
                            <ext:TextArea ID="txtRemark" runat="server" Label="备注" Text="">
                            </ext:TextArea>
                        </Items>
                    </ext:FormRow>
                    <ext:FormRow ID="FormRow7" runat="server">
                        <Items>
                            <ext:TextBox ID="Tel" runat="server" Label="Label" Text="" Hidden="true">
                            </ext:TextBox>
                        </Items>
                    </ext:FormRow>
                </Rows>
            </ext:Form>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" runat="server" Height="350px" IsModal="true" Popup="false"
        EnableIFrame="true" Title="Window" Width="200px">
    </ext:Window>
    </form>
</body>
</html>
